
import ClassStart from "../views/class/classStart.vue";
import studentSchedule from "../views/class/components/studentModule/studentSchedule.vue";
import studentsCourseInformation from "../views/class/components/studentModule/studentsCourseInformation.vue";
import signView from "../views/class/components/studentModule/signView.vue";
import courseGrades from "../views/class/components/studentModule/courseGrades.vue";
import leaveInfo from "../views/class/components/studentModule/leaveInfo.vue";

import planView from "../views/class/components/studentModule/planView.vue";
import teacherSchedule from "../views/class/components/teacherModule/teacherSchedule.vue";
import classMatesView from "../views/class/components/studentModule/classMatesView.vue";
import teacherCourseInfo from "../views/class/components/teacherModule/teacherCourseInfo.vue";
import teacherPostSign from "../views/class/components/teacherModule/teacherPostSign.vue";
import finishSignStudents from "../views/class/components/teacherModule/finishSignStudents.vue";
import unSignStudents from "../views/class/components/teacherModule/unSignStudents.vue";
import courseStudentCountsView from "../views/class/components/teacherModule/courseStudentCountsView.vue";
import adminManageLeaveView from "../views/class/components/adminModule/adminManageLeaveView.vue";
import courseStudentLeaveView from "../views/class/components/teacherModule/courseStudentLeaveView.vue";
import publishAnnounce from "../views/class/components/adminModule/publishAnnounce.vue";
import newAnnounceView from "../views/class/newAnnounceView.vue";
import chatRoom from "../views/class/components/chatRoom.vue";
import adjustCourseView from "../views/class/components/teacherModule/adjustCourseView.vue";
import courseManageView from "../views/class/components/adminModule/courseManageView.vue";

const classRoutes = [
    {
        path: '/classStart',
        component: ClassStart,
        redirect: '/classStart/newAnnounceView',
        children:[
            {
                path: 'studentSchedule',
                component: studentSchedule
            },
            {
                path: 'studentsCourseInformation',
                component: studentsCourseInformation
            },
            {
                path: 'signView',
                component: signView,
            },
            {
                path: 'courseGrades',
                component: courseGrades,
            },
            {
                path: 'leaveInfo',
                component: leaveInfo,
            },
            {
                path: 'planView',
                component: planView,
            },
            {
                path: 'classMatesView',
                component: classMatesView,
            },
            {
                path: 'teacherSchedule',
                component: teacherSchedule
            },
            {
                path: 'teacherCourseInfo',
                component: teacherCourseInfo
            },
            {
                path: 'teacherPostSign',
                component: teacherPostSign
            },
            {
                path: 'finishSignStudents',
                component: finishSignStudents
            },
            {
                path: 'unSignStudents',
                component: unSignStudents
            },
            {
                path: 'courseStudentCountsView',
                component: courseStudentCountsView
            },
            {
                path: 'adminManageLeaveView',
                component: adminManageLeaveView
            },
            {
                path: 'courseStudentLeaveView',
                component: courseStudentLeaveView
            },
            {
                path: 'publishAnnounce',
                component: publishAnnounce
            },
            {
                path: 'newAnnounceView',
                component: newAnnounceView
            },
            {
                path: 'chatRoom',
                component: chatRoom
            },
            {
                path: 'adjustCourseView',
                component: adjustCourseView
            },
            {
                path: 'courseManageView',
                component: courseManageView
            },
        ]
    },

]

export default classRoutes